home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / utility / srch33.zip / FINDFILE.BAT < prev    next >
DOS Batch File  |  1992-10-17  |  659b  |  28 lines

  1. @echo off
  2.  
  3. rem This batch file may produce errors if running DOS older than v5.0
  4.  
  5. if not "%1" == "" goto findfile
  6.  
  7. echo.
  8. echo File Finder: searchs current drive for files
  9. echo.
  10. echo Usage: findfile [file pattern]
  11. echo.
  12. echo where [file pattern] is a Unix-style (shell) file pattern.
  13. echo (If you are not familiar with Unix, you'll find that a DOS
  14. echo  file pattern will usually produce the same results.)
  15. echo.
  16. echo Uses SRCH file searching utility, a shareware utility
  17. echo by Jeff Dean.  See SRCH.DOC for more documentation.
  18.  
  19. goto exit
  20.  
  21. :findfile
  22.  
  23. rem Search using specified pattern(s) on current drive
  24.  
  25. srch -dm"%1" "" \
  26.  
  27. :exit
  28.